package top.linuyx.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * @Author Linuyx
 * @Description commodity表
 * @Date Created in 2021-04-07 22:12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("commodity")
public class CommodityEntity extends BaseEntity implements Serializable {

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品详情
     */
    private String information;

    /**
     * 商品品牌id
     */
    private Long brandId;

    /**
     * 商品类型id
     */
    private Long typeId;

}
